package June.Test01extends;

public class Extends01Eldest extends Extends01Father{

    String name="子涵";
    public String name(){
        return surname() + name;
    }
    public void money(){
        System.out.println(name()+"继承了财富");
    }
}
